package com.njwb;

import com.njwb.config.LoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;

@SpringBootApplication
@EnableDiscoveryClient
@LoadBalancerClients(defaultConfiguration = LoadBalancerConfig.class)
public class NacosConsumerLoadbalancerRest6001Application {
    public static void main(String[] args) {
        SpringApplication.run(NacosConsumerLoadbalancerRest6001Application.class, args);
    }
}
